package com.monitor.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author LX
 * @since 2018-09-30
 */
@TableName("erp_inspection_order")
public class ErpInspectionOrder extends Model<ErpInspectionOrder> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 里程
     */
    private Double mileage;
    /**
     * 地点
     */
    private String place;
    /**
     * 机构名称
     */
    private String branch;
    /**
     * 行驶区间
     */
    @TableField("driving_range1")
    private String drivingRange1;
    /**
     * 行驶区间
     */
    @TableField("driving_range2")
    private String drivingRange2;
    /**
     * 行驶区间
     */
    @TableField("driving_range3")
    private String drivingRange3;
    /**
     * 行驶区间
     */
    @TableField("driving_range4")
    private String drivingRange4;
    /**
     * 检测日期
     */
    @TableField("inspection_dt")
    private String inspectionDt;
    /**
     * 路况
     */
    @TableField("road_status")
    private String roadStatus;
    /**
     * 客户
     */
    private String customer;
    @TableField("customer_name")
    private String customerName;
    /**
     * 单号
     */
    @TableField("form_id")
    private String formId;
    /**
     * 提交人
     */
    @TableField("submit_name")
    private String submitName;
    /**
     * 费用合计
     */
    @TableField("all_fee")
    private Double allFee;
    /**
     * 积分消费
     */
    @TableField("integral_fee")
    private Double integralFee;
    /**
     * 实收金额
     */
    @TableField("actual_fee")
    private Double actualFee;
    /**
     * 收款方式
     */
    @TableField("paid_method")
    private String paidMethod;
    /**
     * 本次积分
     */
    private Double integral;
    /**
     * 经办人
     */
    private String attn;
    /**
     * 录入人
     */
    @TableField("entry_person")
    private String entryPerson;
    /**
     * 是否开发票0未开1已开
     */
    @TableField("invoice_state")
    private Integer invoiceState;
    /**
     * 付款状态0未付款1已付款
     */
    @TableField("pay_state")
    private Integer payState;
    /**
     * 收款状态0未收款
     */
    @TableField("receivables_state")
    private Integer receivablesState;


    /**
     * 服务经管
     */
    private String fuwujingban;

    /**
     * 库管经办
     */
    private String    kuguanjingban;

    /**
     * 客户经办
     */
    private String kehujingban;

    /**
     * 财务经办
     */
    private String   caiwujingban;

    public String getFuwujingban() {
        return fuwujingban;
    }

    public void setFuwujingban(String fuwujingban) {
        this.fuwujingban = fuwujingban;
    }

    public String getKuguanjingban() {
        return kuguanjingban;
    }

    public void setKuguanjingban(String kuguanjingban) {
        this.kuguanjingban = kuguanjingban;
    }

    public String getKehujingban() {
        return kehujingban;
    }

    public void setKehujingban(String kehujingban) {
        this.kehujingban = kehujingban;
    }

    public String getCaiwujingban() {
        return caiwujingban;
    }

    public void setCaiwujingban(String caiwujingban) {
        this.caiwujingban = caiwujingban;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Double getMileage() {
        return mileage;
    }

    public void setMileage(Double mileage) {
        this.mileage = mileage;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getBranch() {
        return branch;
    }

    public void setBranch(String branch) {
        this.branch = branch;
    }

    public String getDrivingRange1() {
        return drivingRange1;
    }

    public void setDrivingRange1(String drivingRange1) {
        this.drivingRange1 = drivingRange1;
    }

    public String getDrivingRange2() {
        return drivingRange2;
    }

    public void setDrivingRange2(String drivingRange2) {
        this.drivingRange2 = drivingRange2;
    }

    public String getDrivingRange3() {
        return drivingRange3;
    }

    public void setDrivingRange3(String drivingRange3) {
        this.drivingRange3 = drivingRange3;
    }

    public String getDrivingRange4() {
        return drivingRange4;
    }

    public void setDrivingRange4(String drivingRange4) {
        this.drivingRange4 = drivingRange4;
    }

    public String getInspectionDt() {
        return inspectionDt;
    }

    public void setInspectionDt(String inspectionDt) {
        this.inspectionDt = inspectionDt;
    }

    public String getRoadStatus() {
        return roadStatus;
    }

    public void setRoadStatus(String roadStatus) {
        this.roadStatus = roadStatus;
    }

    public String getCustomer() {
        return customer;
    }

    public void setCustomer(String customer) {
        this.customer = customer;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getFormId() {
        return formId;
    }

    public void setFormId(String formId) {
        this.formId = formId;
    }

    public String getSubmitName() {
        return submitName;
    }

    public void setSubmitName(String submitName) {
        this.submitName = submitName;
    }

    public Double getAllFee() {
        return allFee;
    }

    public void setAllFee(Double allFee) {
        this.allFee = allFee;
    }

    public Double getIntegralFee() {
        return integralFee;
    }

    public void setIntegralFee(Double integralFee) {
        this.integralFee = integralFee;
    }

    public Double getActualFee() {
        return actualFee;
    }

    public void setActualFee(Double actualFee) {
        this.actualFee = actualFee;
    }

    public String getPaidMethod() {
        return paidMethod;
    }

    public void setPaidMethod(String paidMethod) {
        this.paidMethod = paidMethod;
    }

    public Double getIntegral() {
        return integral;
    }

    public void setIntegral(Double integral) {
        this.integral = integral;
    }

    public String getAttn() {
        return attn;
    }

    public void setAttn(String attn) {
        this.attn = attn;
    }

    public String getEntryPerson() {
        return entryPerson;
    }

    public void setEntryPerson(String entryPerson) {
        this.entryPerson = entryPerson;
    }

    public Integer getInvoiceState() {
        return invoiceState;
    }

    public void setInvoiceState(Integer invoiceState) {
        this.invoiceState = invoiceState;
    }

    public Integer getPayState() {
        return payState;
    }

    public void setPayState(Integer payState) {
        this.payState = payState;
    }

    public Integer getReceivablesState() {
        return receivablesState;
    }

    public void setReceivablesState(Integer receivablesState) {
        this.receivablesState = receivablesState;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpInspectionOrder{" +
        ", id=" + id +
        ", mileage=" + mileage +
        ", place=" + place +
        ", branch=" + branch +
        ", drivingRange1=" + drivingRange1 +
        ", drivingRange2=" + drivingRange2 +
        ", drivingRange3=" + drivingRange3 +
        ", drivingRange4=" + drivingRange4 +
        ", inspectionDt=" + inspectionDt +
        ", roadStatus=" + roadStatus +
        ", customer=" + customer +
        ", customerName=" + customerName +
        ", formId=" + formId +
        ", submitName=" + submitName +
        ", allFee=" + allFee +
        ", integralFee=" + integralFee +
        ", actualFee=" + actualFee +
        ", paidMethod=" + paidMethod +
        ", integral=" + integral +
        ", attn=" + attn +
        ", entryPerson=" + entryPerson +
        ", invoiceState=" + invoiceState +
        ", payState=" + payState +
        ", receivablesState=" + receivablesState +
        "}";
    }
}
